home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 November / PCWorld_2006-11_cd.bin / system / innosetup / isetup-5.1.8.exe / {app} / Examples / Languages.iss < prev    next >
Text File  |  2006-10-03  |  2KB  |  58 lines

  1. ; -- Languages.iss --
  2. ; Demonstrates a multilingual installation.
  3.  
  4. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  5.  
  6. [Setup]
  7. AppName={cm:MyAppName}
  8. AppId=My Program
  9. AppVerName={cm:MyAppVerName,1.5}
  10. DefaultDirName={pf}\{cm:MyAppName}
  11. DefaultGroupName={cm:MyAppName}
  12. UninstallDisplayIcon={app}\MyProg.exe
  13. VersionInfoDescription=My Program Setup
  14. OutputDir=userdocs:Inno Setup Examples Output
  15. ; Uncomment the following line to disable the "Select Setup Language"
  16. ; dialog and have it rely solely on auto-detection.
  17. ;ShowLanguageDialog=no
  18. ; If you want all languages to be listed in the "Select Setup Language"
  19. ; dialog, even those that can't be displayed in the active code page,
  20. ; uncomment the following line.
  21. ;ShowUndisplayableLanguages=yes
  22.  
  23. [Languages]
  24. Name: en; MessagesFile: "compiler:Default.isl"
  25. Name: nl; MessagesFile: "compiler:Languages\Dutch.isl"
  26. Name: de; MessagesFile: "compiler:Languages\German.isl"
  27.  
  28. [Messages]
  29. en.BeveledLabel=English
  30. nl.BeveledLabel=Nederlands
  31. de.BeveledLabel=Deutsch
  32.  
  33. [CustomMessages]
  34. en.MyDescription=My description
  35. en.MyAppName=My Program
  36. en.MyAppVerName=My Program %1
  37. nl.MyDescription=Mijn omschrijving
  38. nl.MyAppName=Mijn programma
  39. nl.MyAppVerName=Mijn programma %1
  40. de.MyDescription=Meine Beschreibung
  41. de.MyAppName=Meine Anwendung
  42. de.MyAppVerName=Meine Anwendung %1
  43.  
  44. [Files]
  45. Source: "MyProg.exe"; DestDir: "{app}"
  46. Source: "MyProg.chm"; DestDir: "{app}"; Languages: en
  47. Source: "Readme.txt"; DestDir: "{app}"; Languages: en; Flags: isreadme
  48. Source: "Readme-Dutch.txt"; DestName: "Leesmij.txt"; DestDir: "{app}"; Languages: nl; Flags: isreadme
  49. Source: "Readme-German.txt"; DestName: "Liesmich.txt"; DestDir: "{app}"; Languages: de; Flags: isreadme
  50.  
  51. [Icons]
  52. Name: "{group}\{cm:MyAppName}"; Filename: "{app}\MyProg.exe"
  53. Name: "{group}\{cm:UninstallProgram,{cm:MyAppName}}"; Filename: "{uninstallexe}"
  54.  
  55. [Tasks]
  56. ; The following task doesn't do anything and is only meant to show [CustomMessages] usage
  57. Name: mytask; Description: "{cm:MyDescription}"
  58.